package com.by.goods.dto;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CategoryDto {
    private int categoryId;

    private int parentId;

    private String name;


    private List<CategoryDto> children;

}
